/*
 Currently, CarbonCheckBox is NOT vector based.
 This is because the CheckBox doesn't have a BorderSkin class. Instead, the whole control is drawn by icons
 of different states. So what we do is simply replace these icons to provide an unified look & feel
 */
package org.delphy.indy2.controls
{
	import mx.controls.CheckBox;
	
	import org.delphy.indy2.core.ICarbonComponent;

	public class CarbonCheckBox extends CheckBox implements ICarbonComponent
	{
		/**
		 * Constructor
		 */
		public function CarbonCheckBox()
		{
			super();
		}
		
		/**
		 * @protected
		 */
		 override protected function commitProperties():void{
		 	super.commitProperties();
		 	
		 	if(!styleName)
		 		styleName = "carbonCheckBox";
		 }
		 
		 /**
		 * @public
		 */
		 public function get defaultStyleName():String{
		 	return "carbonCheckBox";
		 }
	}
}